<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>新增公告</title>
    <link rel="stylesheet" href="../../static/css/bootstrap.4.3.1.min.js.css" th:href="@{/css/bootstrap.4.3.1.min.js.css}"/>
    <style>
        li{
            list-style: none;
            margin: 15px;
        }
        .btn-block{
            width: 380px !important;
            margin: 0px 55px !important;
        }
    </style>
</head>
<body>
<div style="width:450px;height:100%;margin:100px 500px;">
    <h3 style="text-align: center">新增教学通知</h3>
    <form action="/insertNotice" method="post">
        <ul>
            <li>
                <input class="form-control" type="text" th:value="${title}" name="title" placeholder="请输入通知标题">
            </li>
            <li>
                <textarea cols="50" rows="10" th:value="${content}" name="content" placeholder="请输入教学通知内容"></textarea>
            </li>
        </ul>
        <button class="btn btn-primary btn-lg btn-block">保存</button>
    </form>
</div>
</body>
</html>